﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;

namespace Treasure.Service.DBModel
{
    [Table("user")]
    public class User
    {
        [Key]
        public int  id { get; set; }

        public string user { get; set; }

        public string name { get; set; }

        public string password { get; set; }

        public DateTime? lastlogin { get; set; }
    }
}